package com.zytlifeservice.controller.find;

import com.zytlifeservice.domain.Result;
import com.zytlifeservice.service.find.PayCityMarkerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 城市控制类
 * Created by Administrator on 2017/6/3.
 */
@RestController
@RequestMapping(value = "/market")
public class PayCityMarkerController {
    @Autowired
    private PayCityMarkerService payCityMarkerService;//城市业务对象

    //查询省
    @PostMapping(value = "/city")
    public Result findName(String city){
         return  payCityMarkerService.findEmoceName(city);
    }
}
